<div id="apps">
    <img src='/logo.png'>asdqwe
    <div>
        <h3>Your Computer CPU infomation:</h3>
        <p v-for="cpu in cpus">
            model:{{cpu.model}},
            speed:{{cpu.speed}},
            times:{{cpu.times}}
        </p>
    </div>
</div>
<script src="/static/vue/vue.min.js"></script>
<script>
    const os = require('os');

    var vm = new Vue({
        el:'#apps',
        data:{
            cpus:[]
        },
        mounted:function(){
            this.cpus = os.cpus();
        }
    });
</script>